/*
 * @Author: 华芊芊 huaqianqian@yeah.net
 * @Date: 2023-09-21 09:47:17
 * @LastEditors: 华芊芊 huaqianqian@yeah.net
 * @LastEditTime: 2023-10-09 16:37:04
 * @FilePath: \zmglpt-ui-screen\deploy\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
const{Client}=require("node-oci-image-builder");
Client.build(
    {
        url:"nginx:latest",
        auth:{username:"anole1982",password:"Qa123456@zs"}
    },
    [
        {
            dir:"dist",
            target:"/usr/share/nginx/html/"
        },
        {
            dir:"deploy/nginx.conf",
            target:"/etc/nginx/conf.d/default.conf"
        }
    ],
    {
        repo:{
            url: "registry.cn-beijing.aliyuncs.com/yunjinhz/largescreenweb",
 auth:{
           username:"yunjinhz",
           password:"Yunjinhz_123"}
        },
        tags:["0.0.11","latest"]
    }
);
